{%include file="m.index.header.tpl.php"%}
<!--头部 end--> 
<!--主体部分-->
<form name="myform" action="" method="get">
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-top:10px;">
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="" class="col-sm-2 control-label">学年学期:</label>
        <div class="col-sm-10">
          <select class="form-control" name="semester_id">
				{%foreach from=$semester_lists key=key item=value%}
			   <option value="{%$value.semester_id%}" {%if $semester_id==$value.semester_id%}selected{%/if%}>{%$value.semester_xname%}{%$value.semester_name%}</option>
			   {%/foreach%}

		   </select>
        </div>
      </div>
    </div>
    <div class="col-xs-12 distance hierarchy2">
      <div class="form-group  text-center" style="padding-top:0px;">
	    <input type="hidden" name="a" value="duty.changelist">
        <button type="submit" class="btn btn-success absolutely ">搜索</button>
      </div>
    </div>
  </div>
  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
    <h5 class="text-center" style="color:red">教师值日调动记录表{%$semester_data.semester_xname%}{%$semester_data.semester_name%}</h5>
	{%foreach from=$change_lists key=key item=value%}
    <table class="table table-striped table-bordered text-center"  id="middles">
      <tr>
        <td>地点</td>
        <td>{%$value.change_area%}</td>
      </tr>
      <tr>
        <td>星期</td>
        <td>{%$value.change_week%}</td>
      </tr>
      <tr>
        <td>半天</td>
        <td>{%$value.change_section%}</td>
      </tr>
      <tr>
        <td>开始日期</td>
        <td>{%$value.change_start%}</td>
      </tr>
      <tr>
        <td>结束日期</td>
        <td>{%$value.change_end%}</td>
      </tr>
      <tr>
        <td>原教室</td>
        <td>{%$value.change_fromname%}</td>
      </tr>
      <tr>
        <td>调动原因</td>
        <td>{%$value.change_note%}</td>
      </tr>
      <tr>
        <td>教师姓名</td>
        <td>{%$value.change_toname%}</td>
      </tr>
      <tr>
        <td>录入时间</td>
        <td>{%$value.create_time%}</td>
      </tr>
    </table>
   {%/foreach%}
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
<!--底部-->
{%include file="m.index.footer.tpl.php"%} 
